﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEdit.aspx.cs" Inherits="kim.Web.Admin.honor.AddorEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <script src="../Js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script src="../ckeditor/ckeditor.js" type="text/javascript"></script>
    <script src="../ckeditor/config.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {

            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
    <style type="text/css">
        .required
        {
        }
    </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <asp:Label ID="labtitle" runat="server" Text=""></asp:Label>
            &gt; 信息修改</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height: 30px;">
            <th colspan="2" align="left">
                <asp:Label ID="labtitle2" runat="server"></asp:Label>
            </th>
        </tr>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                职位名称：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtTitle" datatype="*2-200"
                    nullmsg="请输入职位名称！" errormsg="输入职位名称字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        <div id="xx" runat="server" visible="false">
         <tr style="height: 30px;">
            <td width="15%" align="right">
                性别要求：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtgender" datatype="*2-200"
                    nullmsg="请输入性别要求！" errormsg="输入性别要求字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                联系电话：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtTel" datatype="*2-200"
                    nullmsg="请输入联系电话！" errormsg="输入联系电话字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                工资待遇：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtSalary" datatype="*2-200"
                    nullmsg="请输入薪水范围！" errormsg="输入薪水范围字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        
        
        <tr style="height: 30px;">
            <td align="right">
                需求人数：
            </td>
            <td>
                <input class="input required number" type="text" id="txt_num" datatype="*" nullmsg="请输入需求人数！"
                     runat="server" value="0" />
               
            </td>
        </tr>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                工作地点：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtWorkarea" datatype="*2-200"
                    nullmsg="请输入工作地点！" errormsg="输入工作地点字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                其他要求：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtOrigin" datatype="*2-200"
                    nullmsg="请输入其他要求！" errormsg="输入其他要求字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        </div>
        <tr style="height: 30px;">
            <td align="right" valign="top">
                详细要求：
            </td>
            <td>
                <textarea name="editor1" cols="20" rows="2" class="ckeditor" id="txt_Content" runat="server"></textarea>
                <script type="text/javascript">
                    window.onload = function () {
                        var editor = CKEDITOR.replace('editor1');
                        //CKEDITOR.replace('editor1');
                        CKFinder.SetupCKEditor("editor1", '../ckfinder/');

                    };</script>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="right">
                是否显示：
            </td>
            <td>
                <asp:CheckBox ID="CbIsShow" runat="server"  Checked="true"/>
                打勾的为，在前台页面显示。
            </td>
        </tr>
         
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp; &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </div>
    </form>
    <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $("#form1").Validform();
    </script>
</body>
</html>
